<?php
	if ( ! defined( 'NV_IS_GETNEWS_ADMIN' )) die( 'Stop!!!' );
	$page_title = "Lấy tin tự động";
	include ( NV_ROOTDIR . "/includes/header.php" );
	include("Library.php");
	include("CreateNodeTreedom.php");
	include('getNew.php');
	include('thu.php');
	include('CreateTreedom.php');
	//include('availble.php');
	$contents.='<link href="'.NV_BASE_SITEURL.'modules/'.$module_name.'/admin/css/Styles.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.4.2.js"></script>
<script src="'.NV_BASE_SITEURL.'modules/'.$module_name.'/js/JQuery-ui.js" type="text/javascript"></script>
<script src="'.NV_BASE_SITEURL.'modules/'.$module_name.'/js/JQuery.MenuTree.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function() {
           $("#menu1").menuTree();
            
        });
    </script>
<script type="text/javascript" language="javascript">
$(document).ready(function(){
	$("a").click(function() {
		var path=$(this).attr("alo");
		$.ajax({
			url: "'.NV_BASE_SITEURL.'modules/'.$module_name.'/admin/getData.php",
			type: "POST",
			cache: false,
			data: "getMember="+path,
			success: function(string){
				var getData = $.parseJSON(string);
				var chose=$("#content").val(getData);
				$.ajax({
					url: "index.php?nv=getnews",
					type: "POST",
					cache: false,
					data: "chose="+chose,
					
				});
			},
			error: function (){
				alert("Co loi xay ra");
			}
		});
	});
	
});
</script>
';
	$contents.='<div style="float:left;width:350px;border:1px"><fieldset>'.$treedom.'</fieldset></div><div style="float:left">'.$filegetNew.'</div>';
	echo nv_admin_theme($contents);
	include ( NV_ROOTDIR . "/includes/footer.php" );
?>